package org.dromara.creditcard.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;

import java.io.Serial;
import java.util.Date;

/**
 * 养卡套餐对象 credit_package
 *
 * @author Mr.Zhou
 * @date 2023-11-29
 */
@Data
@TableName("credit_package")
public class CreditPackage implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     *  租户编号
     */
    private String tenantId;

    /**
     *  区域代理id
     */
    private Integer agentId;

    /**
     * 套餐名称
     */
    private String packageTitle;

    /**
     * 剩余额度占有比例
     */
    private BigDecimal leftRate;

    /**
     * 按季度算的每月/万  手续费   65
     */
    private BigDecimal seasonSingleFee;

    /**
     * 按月算的每月/万  手续费    60
     */
    private BigDecimal monthSingleFee;

    /**
     * 每月/万   管理费  10
     */
    private BigDecimal serviceMoney;

    /**
     * 排序索引
     */
    private Integer sort;

    /**
     * 状态
     */
    private Integer state;

}
